//*****************************************************************************
//
// ABEC3 Solving Script
// Project: Narrow Horn on Infinite Baffle (IB)
//
//*****************************************************************************


Control_Solver
  f1=200;  f2=5000;  NumFrequencies=48;  Abscissa=log
  MeshFrequency=15kHz
  Sym=xy;  Dim=3D
  Meshing=Delaunay


SubDomain_Properties 'Horn-Bell'
  SubDomain=1
  ELType=Interior


SubDomain_Properties 'External'
  SubDomain=2
  ELType=Exterior
  IBPlane=z
  

// Vertices of Horn-Bell and Interface

Nodes  "Nodes"
  Scale=1mm
  // Mouth
  1000    0    0      0
  1001  100    0      0
  1002  100    5      0
  1003    0    5      0
  // Throat
  2000    0    0   -100
  2001    5    0   -100
  2002    5    5   -100
  2003    0    5   -100
  // Interface
  6000    0    0     20
  6001  100    0     20
  6002  100    5     20
  6003    0    5     20


// Driving elements at horn throat

Elements "Horn-Driving"
  RefNodes="Nodes"
  SubDomain=1
  EdgeLength=10mm
  201    2000   2001   2002   2003   // Driving


Driving  "Driver"
  RefElements="Horn-Driving"
  DrvGroup=1001


Elements "Horn-Straight"
  RefNodes="Nodes"
  SubDomain=1
  101    1003   2003   2002   1002   // Top
  102    1001   1002   2002   2001   // Side

Elements "Interface-IB"
  RefNodes="Nodes"
  SubDomain=1, 2
  101    1001   6001   6002   1002  // Side
  102    6003   1003   1002   6002  // Top
  103    6003   6002   6001   6000  // Front

